
//文字组件库
export default {
  "label": '文字',
  "icon": 'icon-text',
  "children": [{
    "label": '文本框',
    "option": {
      "title": "文本框",
      "name": "文本框",
      "icon": 'icon-text',
      "img": require('@/assets/text.png'),
      "dataType": 0,
      "dataFormatter": "",
      "stylesFormatter": "",
      "child": {
        "index": [],
        "paramName": ""
      },
      "data": {
        value: '文本框'
      },
      "component": {
        "width": 100,
        "height": 40,
        "name": "text",
        "prop": "text"
      },
      "option": {
        "textAlign": "center",
        "step": 0.5,
        "speed": 100,
        "fontSize": 26,
        "fontWeight": "normal",
        "color": "#fff",
        textShadowX: 1,
        textShadowY: 1,
        textShadowZ: 1,
      },
    },
  }, {
    "label": '跑马灯',
    "option": {
      "title": "跑马灯",
      "name": "跑马灯",
      "icon": 'icon-scroll',
      "img": require('@/assets/text2.png'),
      "top": 0,
      "left": 0,
      "dataType": 0,
      "data": {
        value: "跑马灯"
      },
      "dataFormatter": "",
      "stylesFormatter": "",
      "component": {
        "width": 100,
        "height": 50,
        "name": "text",
        "prop": "text"
      },
      "option": {
        scroll: true,
        "step": 0.5,
        speed: 70,
        "textAlign": "center",
        "fontSize": 26,
        "fontWeight": "normal",
        "color": "#fff",
        textShadowX: 1,
        textShadowY: 1,
        textShadowZ: 1,
      },
    },
  }, {
    "label": '超链接',
    "option": {
      "title": "超链接",
      "name": "超链接",
      "icon": 'icon-link',
      "img": require('@/assets/text3.png'),
      "top": 0,
      "left": 0,
      "data": {
        "value": "超链接"
      },
      "dataFormatter": "",
      "stylesFormatter": "",
      "component": {
        "width": 100,
        "height": 50,
        "name": "text",
        "prop": "text"
      },
      "option": {
        link: true,
        linkHref: 'http://avue.top',
        linkTarget: '_self',
        "textAlign": "center",
        "fontSize": 26,
        "fontWeight": "normal",
        "color": "#fff"
      },
    },
  }, {
    "label": '实时时间',
    "option": {
      "name": "实时时间",
      "title": "实时时间",
      "icon": 'icon-datetime',
      "img": require('@/assets/datetime.png'),
      "top": 78,
      "left": 1604,
      "component": {
        "width": 250,
        "height": 50,
        "name": "datetime",
        "prop": "datetime",
      },
      "option": {
        "format": 'yyyy-MM-dd hh:mm:ss',
        "color": "#fff",
        'textAlign': 'left',
        "fontSize": 24,
        "fontWeight": "normal"
      }
    },
  },
    {
      "label": '提示框',
      "option": {
        "title": "提示框",
        "name": "提示框",
        "icon": 'icon-text',
        "img": require('@/assets/text.png'),
        "top": 300,
        "left": 300,
        "dataType": 0,
        "data": {
          value: "请BIM-VIEW到一号诊室"
        },
        "dataFormatter": "",
        "stylesFormatter": "",
        "component": {
          "width": 500,
          "height": 300,
          "name": "toast",
          "prop": "toast"
        },
        "option": {
          isShow: true,
          "textAlign": "center",
          "fontSize": 26,
          "fontWeight": "normal",
          "color": "#fff",
          textShadowX: 1,
          textShadowY: 1,
          textShadowZ: 1,
          timeOut: 5000,
          animateName: 'bounceInLeft',
          animateDuration: 2,
          animateDelay: 1,
          animateRepeat: 1
        },
      },
    }]
}
